//=============================================================================
/**
 * @file	throw_ai.h
 * @brief	玉投げAI
 * @date	2008.09.11
 */
//=============================================================================

#ifndef	__THROW_AI_H__
#define	__THROW_AI_H__

#include "../../pokethlon.h"
#include "pkthln_throw.h"
#include "../../pkthln_poke_act.h"
#include"pkthln_throw_local.h"

typedef struct THROW_AI_CONT_tag * THROW_AI_CONT_PTR;

extern THROW_AI_CONT_PTR ThrowAI_Init(const int inHeapID, const int inNpcNum, const PKTHLN_GAME_TYPE inType);

extern void ThrowAI_SetupInfo(	THROW_AI_CONT_PTR ptr,
							const u8 inIdx,
							THROW_POKE *ioThrowPoke,
							THROW_BALL *ioBall);

extern void ThrowAI_End(THROW_AI_CONT_PTR ptr);

extern u8 ThrowAI_Execute(THROW_AI_CONT_PTR ptr, const int inTime);

#endif	//__RUN_AI_H__